Premmerce\WoocommerceMulticurrency\Frontend\UserPricesHandler A

Total Complexity 71
Dependencies 6
Dependents 4
Total lines 591
Lines of code 273
Logical lines of code 170
Comment lines 186
Methods 18
Properties 9

Methods 18

Method Rating Maintainability Complexity Lines of code
setFilters()
A
38 12 72
replacePrice()
A
51 9 24
isProductOnSale()
A
57 9 15
sendPricesForAjax()
S
51 5 26
filterWcQueryArgsForPriceFilter()
S
54 5 22
calculatePriceInUsersCurrency()
S
56 4 18
getPriceForProductField()
S
58 4 15
applyGetPriceForUserFilter()
S
61 4 12
replacePriceFieldsInArray()
S
63 3 10
addPriceSpan()
S
69 3 6
getProductCurrencyByProductId()
S
77 3 3
fixProductQueryWithPriceFilter()
S
62 2 11
__construct()
S
58 1 15
replaceSinglePriceField()
S
66 2 8
getFieldsToReplace()
S
72 2 5
isFiltersActive()
S
82 1 3
manageWoocommercePricesHash()
S
72 1 5
outputCurrencyIdSpan()
S
79 1 3